package com.findFish.fish.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.findFish.common.annotation.Excel;
import com.findFish.common.core.domain.BaseEntity;

/**
 * 鱼群管理对象 fish_population
 * 
 * @author admin
 * @date 2025-04-01
 */
public class FishPopulation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 管理ID */
    private Long id;

    /** 种类ID */
    @Excel(name = "种类ID")
    private Long speciesId;

    /** 批次号 */
    @Excel(name = "批次号")
    private String batchNumber;

    /** 网箱ID */
    @Excel(name = "网箱ID")
    private String netCageId;

    /** 鱼的数量 */
    @Excel(name = "鱼的数量")
    private Long fishCount;

    /** 释放日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "释放日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date releaseDate;

    /** 备注 */
    @Excel(name = "备注")
    private String notes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setSpeciesId(Long speciesId) 
    {
        this.speciesId = speciesId;
    }

    public Long getSpeciesId() 
    {
        return speciesId;
    }

    public void setBatchNumber(String batchNumber) 
    {
        this.batchNumber = batchNumber;
    }

    public String getBatchNumber() 
    {
        return batchNumber;
    }

    public void setNetCageId(String netCageId) 
    {
        this.netCageId = netCageId;
    }

    public String getNetCageId() 
    {
        return netCageId;
    }

    public void setFishCount(Long fishCount) 
    {
        this.fishCount = fishCount;
    }

    public Long getFishCount() 
    {
        return fishCount;
    }

    public void setReleaseDate(Date releaseDate) 
    {
        this.releaseDate = releaseDate;
    }

    public Date getReleaseDate() 
    {
        return releaseDate;
    }

    public void setNotes(String notes) 
    {
        this.notes = notes;
    }

    public String getNotes() 
    {
        return notes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("speciesId", getSpeciesId())
            .append("batchNumber", getBatchNumber())
            .append("netCageId", getNetCageId())
            .append("fishCount", getFishCount())
            .append("releaseDate", getReleaseDate())
            .append("notes", getNotes())
            .toString();
    }
}
